table.EOF Function

Syntax

Result_Flag as L = Eof([C tagname])

Arguments

tagname

Optional. Default = Record number order. The name of an index.

Description

Returns TRUE if we are on the last record of the specified (or current) search order.

Discussion

The <TBL>.EOF() method returns Result_Flag with a value of .T. (TRUE) if the current record is the last record in the logical order specified by Tagname. Note : Use the <TBL>.FETCH_EOF() method to test for end of file when reading records.

Example

This calculated field on a form returns True if the current record is the last record in lastname order.

table.current().eof("lastname")

See Also